import request from '@/utils/request'

// 查询物流公司档案列表
export function listLogisticsCompanyFile(query) {
  return request({
    url: '/ys/logisticsCompanyFile/list',
    method: 'get',
    params: query
  })
}

// 查询物流公司档案详细
export function getLogisticsCompanyFile(id) {
  return request({
    url: '/ys/logisticsCompanyFile/' + id,
    method: 'get'
  })
}

// 新增物流公司档案
export function addLogisticsCompanyFile(data) {
  return request({
    url: '/ys/logisticsCompanyFile',
    method: 'post',
    data: data
  })
}

// 修改物流公司档案
export function updateLogisticsCompanyFile(data) {
  return request({
    url: '/ys/logisticsCompanyFile',
    method: 'put',
    data: data
  })
}

// 删除物流公司档案
export function delLogisticsCompanyFile(id) {
  return request({
    url: '/ys/logisticsCompanyFile/' + id,
    method: 'delete'
  })
}
